package kr.hkit.powerjava.chapter06;

import java.util.Scanner;
public class IfTest {
	public static void main(String[] args) {
		
		Scanner input = new Scanner(System.in);
//		solveFirst(input.nextInt());
//		solveSecond(3);
//		solveThird(input.nextInt());
		solveThirdsw(99);
	}
	
	private static void solveThirdsw(int size) {
		switch (size / 100) {
			case 0:
				System.out.println("small");
				break;
			case 1:
				System.out.println("medium");
				break;
			default:
				System.out.println("large");
				break;
		}
	}

	private static void solveThird(int size) {
		System.out.format("cup size : %d = ", size);
		if(size < 100)
			System.out.println("small");
		else if(size < 200)
			System.out.println("medium");
		else
			System.out.println("large");	
		
	}

	private static void solveSecond(int k) {
		if (k == 0)
			System.out.println("A");
		else if(k > 3)
			System.out.println("B");
		else 
			System.out.println("C");
		
	}

	private static void solveFirst(int n) {
		
		if (n >= 100)
			System.out.println("large");
		else
			System.out.println("small");
	}
	
}
